﻿<%@ Page Language="C#" MasterPageFile="~/Admin/PH_Admin.master" AutoEventWireup="true"
    CodeFile="sanphamsua.aspx.cs" Inherits="sanphamsua" Title="Untitled Page" %>

<%@ Register Assembly="SlimeeLibrary" Namespace="SlimeeLibrary" TagPrefix="cc2" %>
<%@ Register Assembly="HighslideImage" Namespace="Encosia" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <h2 style="text-align:center; color:White;font-size:24pt">
            Sửa thông tin sản phẩm
        </h2>
        <div>
            <center>
                <table width="60%">
                    <tr>
                        <td style="width: 30%; text-align: left; height: 26px;">
                            Tên sản phẩm</td>
                        <td style="width: 70%; text-align: left; height: 26px;">
                            <asp:TextBox ID="txt_Tensp" runat="server"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 30%; height: 86px; text-align: left;">
                            Đặc điểm</td>
                        <td style="width: 70%; text-align: left; height: 86px;">
                            <asp:TextBox ID="txt_dacdiem"  TextMode="MultiLine" runat="server" Height="75px" Width="203px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 30%; height: 86px; text-align: left">
                            Thông tin :</td>
                        <td style="width: 70%; height: 86px; text-align: left">
                            <asp:TextBox ID="txt_thongtin" runat="server" Height="75px" TextMode="MultiLine"
                                Width="203px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 30%; height: 86px; text-align: left">
                            Thỏa thuận :</td>
                        <td style="width: 70%; height: 86px; text-align: left">
                            <asp:TextBox ID="txt_thoathuan" runat="server" Height="75px" TextMode="MultiLine"
                                Width="203px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left">
                            Giá gốc :</td>
                        <td style="width: 70%; text-align: left">
                            <asp:TextBox ID="txt_giagoc" runat="server"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left;">
                            Giá bán</td>
                        <td style="width: 70%; text-align: left;">
                            <asp:TextBox ID="txt_giaban" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left;">
                            Tổng Số lượng :</td>
                        <td style="width: 70%; text-align: left;">
                            <asp:TextBox ID="txt_soluong" CssClass="TextBoxSearch" runat="server" Width="84px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left">
                            Số lượng đã bán :</td>
                        <td style="width: 70%; text-align: left">
                            <asp:TextBox ID="txt_soluongdaban" runat="server" CssClass="TextBoxSearch" Width="84px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left">
                            Chiết khấu :</td>
                        <td style="width: 70%; text-align: left">
                            <asp:TextBox ID="txt_chietkhau" runat="server" CssClass="TextBoxSearch" Width="39px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 30%; height: 21px; text-align: left">
                            Giá trị sử dụng :</td>
                        <td style="width: 70%; height: 21px; text-align: left">
                            <asp:TextBox ID="txt_gtsd" runat="server" CssClass="TextBoxSearch" Width="39px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 30%; height: 30px; text-align: left;">
                            Hình ảnh</td>
                        <td style="width: 70%; height: 30px; text-align: left;">
                            <cc1:HighslideManager ID="HighslideManager1" runat="server">
                            </cc1:HighslideManager>
                            <cc1:HighslideImage ID="hinh" runat="server"  Width="90px" Height="90px"/>
                            <asp:FileUpload ID="fu_HinhMinhHoa" runat="server" />
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left;">
                            Loại sản phẩm</td>
                        <td style="width: 70%; text-align: left;">
                            <asp:DropDownList CssClass="DropDownList" ID="ddl_Loai" runat="server">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left;">
                            Ngày bắt đầu :</td>
                        <td style="width: 70%; text-align: left;">
                            <cc2:DatePicker ID="DatePicker1" runat="server">
                            </cc2:DatePicker>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left;">
                            Ngày kết thúc :</td>
                        <td style="width: 70%; text-align: left;">
                            <cc2:DatePicker ID="DatePicker2" runat="server">
                            </cc2:DatePicker>
                            </td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left;">
                            Doanh nghiệp</td>
                        <td style="width: 70%; text-align: left;">
                            <asp:DropDownList CssClass="DropDownList" ID="ddl_dn" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 30%; text-align: left">
                            Sản phẩm được bán tại :</td>
                        <td style="width: 70%; text-align: left">
                            <asp:DropDownList CssClass="DropDownList" ID="ddl_tinhthanh" runat="server">
                            </asp:DropDownList></td>
                    </tr>
                     <tr>
                        <td style="width: 30%; text-align: left;">
                            Trạng thái</td>
                        <td style="width: 70%; text-align: left;">
                            <asp:DropDownList CssClass="DropDownList" ID="ddl_trangthai" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 70%; text-align: center;" colspan="2" align="center">
                            <asp:Button ID="btn_Update" runat="server" Text="Sửa sản phẩm" OnClick="btn_Update_Click" />
                            <asp:Label ID="Label_thanhcong" runat="server"></asp:Label></td>
                    </tr>
                   
                </table>
            </center>
        </div>
    </div>
</asp:Content>
